package com.hjd.security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 *@author 我玩亚索我会C
 *@Date 2021/3/9 22:51
 * 需要登陆才能访问
 */
@RestController
@RequestMapping("/authenticated")
public class AuthenticatedController {
    @GetMapping("/authenticated")
    public String authenticated(){
        return "您已登陆";
    }
}